import java.util.Scanner;
//第十三题
public class M80613 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("输入数字1");
        int a=in.nextInt();
        System.out.println("输入数字2");
        int b=in.nextInt();
        System.out.println("输入数字2");
        int c=in.nextInt();
        if(a>b&&a>c){
            if(b>c){
                System.out.println(a+","+b+","+c);
            }else {
                System.out.println(a+","+c+","+b);
            }
        } else if (b>a&&b>c) {
            if(a>c){
                System.out.println(b+","+a+","+c);
            }else {
                System.out.println(b+","+c+","+a);
            }
        }else {
            if(a>b){
                System.out.println(c+","+a+""+b);
            }else {
                System.out.println(c+","+b+","+a);
            }
        }
    }
}
